﻿#pragma once
/**
@author 何炜
@date 2011/4/28
@brief .
@details
*/
#include "GLLSystem.h"

namespace GLL
{
	class Console : public System
	{
	public:
		void Create();
		void Destory();
		/**打印log.
		@param type 消息类型
		@param str 消息
		*/
		void Print( const char* type, const char* str);
		Console();

#ifdef GLL_WIN
	private:
		HANDLE _console;
		HWND _TRACE;
		void INIT();
		void SEND( const char* dbgtype, const char* str );
		void SEND_DATA( std::stringstream& DataStrm );
#endif GLL_WIN
	};

};//GLL
